<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
</head>

<body>
    <div id="root">
        <input type="checkbox" v-model="hobby" value="study"> 学习
        <input type="checkbox" v-model="hobby" value="sing"> 唱歌
        <input type="checkbox" v-model="hobby" value="dance"> 跳舞
        <input type="checkbox" v-model="hobby" value="game"> 王者
    </div>
    <script>
        Vue.config.productionTip = false;
        new Vue({
            el: "#root",
            data: {
                hobby: []
            }

        })
    </script>
</body>

</html>